home *** CD-ROM | disk | FTP | other *** search
/ Power Hacker 2003 / Power_Hacker_2003.iso / Exploit and vulnerability / w00w00 / sectools / dsniff / Makefile.in < prev    next >
Encoding:
Makefile  |  2000-05-18  |  3.1 KB  |  120 lines

  1. #
  2. # Makefile for dsniff
  3. #
  4. # Dug Song <dugsong@monkey.org>
  5. #
  6. # $Id: Makefile.in,v 1.23 2000/05/18 20:20:04 dugsong Exp $
  7.  
  8. srcdir          = @srcdir@
  9. VPATH           = @srcdir@
  10.  
  11. install_prefix  =
  12. prefix          = @prefix@
  13. exec_prefix    = @exec_prefix@
  14. sbindir         = @sbindir@
  15. mandir        = @mandir@
  16.  
  17. CC    = @CC@
  18. CFLAGS    = @CFLAGS@
  19. LDFLAGS    = @LDFLAGS@
  20.  
  21. PCAPINC = @PCAPINC@
  22. PCAPLIB = @PCAPLIB@
  23.  
  24. LNETINC = @LNETINC@
  25. LNETLIB = @LNETLIB@
  26.  
  27. NIDSINC    = @NIDSINC@
  28. NIDSLIB    = @NIDSLIB@
  29.  
  30. DBINC    = @DBINC@
  31. DBLIB    = @DBLIB@
  32.  
  33. X11INC    = @X_CFLAGS@
  34. X11LIB    = @X_LIBS@ @X_PRE_LIBS@ -lXmu -lX11 @X_EXTRA_LIBS@
  35.  
  36. INCS    = $(NIDSINC) $(PCAPINC) $(LNETINC) $(DBINC) @MD5INC@ $(X11INC)
  37. LIBS    = $(NIDSLIB) $(PCAPLIB) $(LNETLIB) @LIBS@
  38.  
  39. INSTALL    = @INSTALL@
  40. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  41. INSTALL_DATA    = @INSTALL_DATA@
  42.  
  43. HDRS    = asn1.h base64.h hex.h rpc.h tcp_raw.h decode.h options.h record.h \
  44.       trigger.h version.h
  45.  
  46. SRCS    = asn1.c base64.c hex.c rpc.c tcp_raw.c trigger.c record.c dsniff.c \
  47.       decode.c decode_aim.c decode_citrix.c decode_cvs.c decode_ftp.c \
  48.       decode_hex.c decode_http.c decode_icq.c decode_imap.c decode_irc.c \
  49.       decode_ldap.c decode_mmxp.c decode_mountd.c decode_napster.c \
  50.       decode_nntp.c decode_oracle.c decode_ospf.c decode_pcanywhere.c \
  51.       decode_pop.c decode_portmap.c decode_postgresql.c decode_rip.c \
  52.       decode_rlogin.c decode_smb.c decode_sniffer.c decode_snmp.c \
  53.       decode_socks.c decode_telnet.c decode_yppasswd.c decode_x11.c
  54.  
  55. OBJS =  $(SRCS:.c=.o)
  56.  
  57. PROGS    = dsniff arpredirect macof mailsnarf tcpkill tcpnice urlsnarf @WEBSPY@
  58.  
  59. .c.o:
  60.     $(CC) $(CFLAGS) -I. $(INCS) -c $(srcdir)/$*.c
  61.  
  62. all: $(PROGS)
  63.  
  64. dsniff: $(HDRS) $(SRCS) $(OBJS) @LIBOBJS@
  65.     $(CC) $(LDFLAGS) -o $@ $(OBJS) @LIBOBJS@ $(DBLIB) $(LIBS)
  66.  
  67. arpredirect: arpredirect.o arp.o @LIBOBJS@
  68.     $(CC) $(LDFLAGS) -o $@ arpredirect.o arp.o @LIBOBJS@ $(LIBS)
  69.  
  70. macof: macof.o @LIBOBJS@
  71.     $(CC) $(LDFLAGS) -o $@ macof.o @LIBOBJS@ $(LIBS)
  72.  
  73. mailsnarf: mailsnarf.o
  74.     $(CC) $(LDFLAGS) -o $@ mailsnarf.o $(LIBS)
  75.  
  76. tcpkill: tcpkill.o
  77.     $(CC) $(LDFLAGS) -o $@ tcpkill.o $(LIBS)
  78.  
  79. tcpnice: tcpnice.o
  80.     $(CC) $(LDFLAGS) -o $@ tcpnice.o $(LIBS)
  81.  
  82. urlsnarf: urlsnarf.o base64.o
  83.     $(CC) $(LDFLAGS) -o $@ urlsnarf.o base64.o $(LIBS)
  84.  
  85. webspy: webspy.o base64.o remote.o
  86.     $(CC) $(LDFLAGS) -o $@ webspy.o base64.o remote.o $(X11LIB) $(LIBS)
  87.  
  88. dirname.o: $(srcdir)/missing/dirname.c
  89.     $(CC) $(CFLAGS) -I. $(INCS) -c $(srcdir)/missing/dirname.c
  90.  
  91. err.o: $(srcdir)/missing/err.c
  92.     $(CC) $(CFLAGS) -I. $(INCS) -c $(srcdir)/missing/err.c
  93.  
  94. ethers.o: $(srcdir)/missing/ethers.c
  95.     $(CC) $(CFLAGS) -I. $(INCS) -c $(srcdir)/missing/ethers.c
  96.  
  97. md5.o: $(srcdir)/missing/md5.c
  98.     $(CC) $(CFLAGS) -I. $(INCS) -c $(srcdir)/missing/md5.c
  99.  
  100. strlcat.o: $(srcdir)/missing/strlcat.c
  101.     $(CC) $(CFLAGS) -I. $(INCS) -c $(srcdir)/missing/strlcat.c
  102.  
  103. strlcpy.o: $(srcdir)/missing/strlcpy.c
  104.     $(CC) $(CFLAGS) -I. $(INCS) -c $(srcdir)/missing/strlcpy.c
  105.  
  106. install:
  107.     $(INSTALL) -d $(install_prefix)$(sbindir)
  108.     $(INSTALL_PROGRAM) -m 755 $(PROGS) $(install_prefix)$(sbindir)
  109.     $(INSTALL) -d $(install_prefix)$(mandir)/man8
  110.     $(INSTALL_DATA) *.8 $(install_prefix)$(mandir)/man8
  111.  
  112. clean:
  113.     rm -f *.o *~ $(PROGS)
  114.  
  115. distclean: clean
  116.     rm -f Makefile config.h \
  117.           config.cache config.log config.status confdefs.h
  118.  
  119. # EOF
  120.